package com.oocl.vo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

import com.oocl.entity.Clients;
import com.oocl.entity.DeliverInfo;
import com.oocl.entity.Foods;
import com.oocl.entity.Merchants;

public class OrdersVo implements Serializable {
	private String id;
	private String oid;
	private Foods food;
	private Merchants merchant;
	private Clients client;
	private DeliverInfo deliverInfo;
	private String ostate;
	private int fcnt;
	private double osum;
	private String otime;

	public OrdersVo() {
		super();
	}

	public OrdersVo(String id, String oid, Foods food, Merchants merchant,
			Clients client, String ostate, Integer fcnt, Double osum,
			String otime) {
		super();
		this.id = id;
		this.oid = oid;
		this.food = food;
		this.merchant = merchant;
		this.client = client;
		this.ostate = ostate;
		this.fcnt = fcnt;
		this.osum = osum;
		this.otime = otime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public Foods getFood() {
		return food;
	}

	public void setFood(Foods food) {
		this.food = food;
	}

	public Merchants getMerchant() {
		return merchant;
	}

	public void setMerchant(Merchants merchant) {
		this.merchant = merchant;
	}

	public Clients getClient() {
		return client;
	}

	public void setClient(Clients client) {
		this.client = client;
	}

	public String getOstate() {
		return ostate;
	}

	public void setOstate(String ostate) {
		this.ostate = ostate;
	}

	public Integer getFcnt() {
		return fcnt;
	}

	public void setFcnt(Integer fcnt) {
		this.fcnt = fcnt;
	}

	

	public DeliverInfo getDeliverInfo() {
		return deliverInfo;
	}

	public void setDeliverInfo(DeliverInfo deliverInfo) {
		this.deliverInfo = deliverInfo;
	}

	public double getOsum() {
		return osum;
	}

	public void setOsum(double osum) {
		this.osum = osum;
	}

	public void setFcnt(int fcnt) {
		this.fcnt = fcnt;
	}

	public String getOtime() {
		return otime;
	}

	public void setOtime(String otime) {
		this.otime = otime;
	}

}
